Back
IROT:

Syntax:

Description:

Executes a rotate shift right or left of number of bits specified in the content of Rs1 on content of Rs0, and puts the result to Rd3. Right or left shifting is performed depending on positive or negative value, correspondingly, in Rs1. Instruction is executed according to BS (bank select). Instruction is stack conditioned.

Microcode Pattern:

Takes 6 cycles to execute.
    Example: IROT 0xA3 3 0xA0 0xA1

	  
	 MPC  BS3 C3 P3 P1 P0
	---------------------
	IROT   0  0  00 A1 A0
	  -    0  0  00 00 00
	  -    0  0  00 00 00
	  -    0  0  00 00 00
	  -    0  0  00 00 00
	  -    3  0  A3 00 00

	  
Exceptions :

No exceptions.

Example :

IROT 0x20 3 0x22 0x21 !! Perform rotate shift of 
                      !! number of bits = content 
                      !! of 0x21 on content of 0x22 
                      !! then puts the result to 
                      !! register 0x20

APE Group Zeuthen. 2003
$Id: irot_masm.php,v 1.2 2004/08/04 09:43:10 noe Exp $
$Id: syntax.php,v 1.8 2004/08/04 09:25:34 noe Exp $